package it.nard.controller;

import it.nard.constant.Constant;
import it.nard.listener.ControlDocumentListener;
import it.nard.persistence.dao.LatteinentrataMapper;
import it.nard.persistence.model.Allevatori;
import it.nard.persistence.model.Latteinentrata;
import it.nard.persistence.model.LatteinentrataExample;
import it.nard.persistence.model.Latteingiacenza;
import it.nard.persistence.model.Latteinuscita;
import it.nard.persistence.model.Rmozzarella;
import it.nard.persistence.model.RmozzarellaExample;
import it.nard.persistence.model.Rprovola;
import it.nard.persistence.model.Rricotta;
import it.nard.sourceframes.AllevatoriPnl;
import it.nard.sourceframes.GenerateReportPnl;
import it.nard.sourceframes.LatteInEntrataPnl;
import it.nard.sourceframes.LatteInGiacenzaPnl;
import it.nard.sourceframes.MainFrame;
import it.nard.sourceframes.RMozzarellaPnl;
import it.nard.utils.TimeSlots;

import java.awt.Color;
import java.awt.Desktop;
import java.awt.event.MouseEvent;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;

import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.ListSelectionModel;
import javax.swing.table.DefaultTableModel;

import org.apache.ibatis.datasource.jndi.JndiDataSourceFactory;
import org.apache.ibatis.session.SqlSession;
import org.jdesktop.swingx.JXTable;
import org.jdesktop.swingx.autocomplete.AutoCompleteDecorator;
import org.jdesktop.swingx.decorator.HighlighterFactory;
import org.joda.time.DateTime;

public class CellaFrigoRefrigeranteController  extends BasicController{


	
	
	public CellaFrigoRefrigeranteController(){
		super("Cella Frigo / Refrigerante", null);
		
	}

	
	public void select (MouseEvent mevent) {
		
		
		
	}



	public void print (List< ?extends Object> list, String controllerCode, String pathFile){
		
		
		
		String tempFile = pathFile;
		tempFile = tempFile.concat(".pdf");
		
		jasperReportManager.generateReport(list,controllerCode,tempFile , true);
	}
	
	
	
	
	
	
	public void delete (){
		
	
	}
	
	public void insert (){
		
	}
	
	public   JPanel getMainPanel(){
		 return null;
	}

	

	@Override
	public String getControllerCode() {
		return "";
	}

	@Override
	public void clearPnl() {
		
	}


	@Override
	public void onDateSelect() {
		
	}
	
	
	
	
	
	
	
}
